package com.atguigu.bigdata.spark.zzgcore.test

/**
 * @Classname Task
 * @Description 包含了完整数据和计算逻辑，组织数据，存储数据
 * @Date 2023/9/18 19:49
 * @Author zhuzhenguo
 */
class Task extends Serializable {
  val data: List[Int] = List(1, 2, 3, 4)

  val logic: (Int)=>Int = _ * 2

}
